package net.learn.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import net.learn.framework.common.page.PageResult;
import net.learn.framework.common.service.BaseService;
import net.learn.system.entity.SysRadioEntity;
import net.learn.system.entity.SysSubjectEntity;
import net.learn.system.query.SysSubjectQuery;
import net.learn.system.vo.SysSubjectVO;

import java.util.List;

/**
 * @author 李立志
 * @since 2022-04-01
 */
public interface SysSubjectService extends BaseService<SysSubjectEntity> {
    Boolean addSubject(SysSubjectVO qry);

    Boolean updateSubject(SysSubjectVO qry);

    void delVideoById(List<Long> idList);

    List<SysSubjectVO> qrySubjectList();

    List<SysSubjectVO> qrySubjectListArray(SysSubjectQuery qry);

    PageResult<SysSubjectVO> qrySubjectListPage(SysSubjectQuery qry);

}
